﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Portal.Model;

namespace Portal.Core.Adapters
{
	/// <summary>
	/// Interface <see cref="IUserAdapter"/> declare <see cref="IUser"/> adpater
	/// </summary>
	public interface IUserAdapter
	{
		/// <summary>
		/// Gets the full name.
		/// </summary>
		/// <value>
		/// The full name.
		/// </value>
		string FullName { get; }

		/// <summary>
		/// Gets the display name.
		/// </summary>
		/// <value>
		/// The display name.
		/// </value>
		string DisplayName { get; }

		/// <summary>
		/// Initializes adapter with specified user.
		/// </summary>
		/// <param name="user">The user.</param>
		void Initialize(IUser user);
	}
}
